package Latihan;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Edhi
 */
import java.io.FileInputStream;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;

public class BacaFileCommons {
public static void main(String[] args) throws Exception{
    InputStream in = new FileInputStream("Asap.text");
    String content = IOUtils.toString(in);
    System.out.println(content);
    IOUtils.closeQuietly(in);
    }
}
